All Questions
24
questions
28
votes
3
answers
143k
views
How to find which files and folders were deleted recently in Linux?
I am having one particular folder (/home/sam/officedocuments) which is having hundreds of folders and files.
I think I deleted some files and folders by mistake but I'm not sure.
How to find which ...
11
votes
3
answers
23k
views
what happens when you have 2 network interfaces to the same network in a Unix/Linux OS?
What will happen if you have 2 network interfaces to the same network where the default gateway/router is?
e.g
network interface e1000g0 - 192.168.1.50
network interface e1000g1 - 192.168.1.51
...
10
votes
4
answers
10k
views
fdisk - do i need it or can i make a filesystem directly?
i read about fdisk being able to creation partition / which is to break down a physical disk into several logical partitions.
If i intend to utilize the whole disk as a whole, is it still necessary ...
5
votes
1
answer
31k
views
How can I remove "ImageMagick" completely?
I think I accidently did install 2 ImageMagicks to my CentOS 5.8 before.
Version 6.2.8 was removed by
yum erase ImageMagick
However, it still shows this when I typed $convert -version
Version: ...
5
votes
1
answer
13k
views
What's the difference between "uname -r" and "uname -v"?
I am using CentOS 6.2. In the man page of uname (i.e., man uname), it says:
-r, --kernel-release
print the kernel release
-v, --kernel-version
print the kernel version
...
3
votes
2
answers
2k
views
Resolving unix server disk space not adding up
I'm trying to evaluate where my disk space on my unix server is distributed. In order to see disk space current status I'm running:
df -h
But when trying to evaluate what is taking the disk space and ...
2
votes
2
answers
2k
views
Why there is difference between output of linux command du and ls?
I have a file in linux machine whose size is 3404494030 upon doing "ls -l". When I do "ls -lh" it shows 3.2 GB which is correct when converted from bytes to Gigabytes. But when I do "du -h" for the ...
2
votes
1
answer
967
views
Batch renaming JPG filenames in CentOS 7
I have about 80 of these files in my directory.
-rw-rwxr--+ 1 vagrant vagrant 38122 Nov 13 12:19 CRMPicco RFC16 Women's 80.jpg
-rw-rwxr--+ 1 vagrant vagrant 101286 Nov 13 12:19 CRMPicco RFC16 Women'...
2
votes
1
answer
3k
views
using extended attribute on samba
I have a samba server and a mix of Mac and Windows clients. On those clients I have an application that require to know the full path of files on the samba server. For the samba server, we are using ...
2
votes
2
answers
2k
views
Malware ( cpubalence ) - information and removal
It seems I have a Linux host ( CentOS ) infected with some kind of malware.
There is an executable called cpubalence which has been created in /tmp/. It seems to start itself up and consume 100% CPU ...
1
vote
2
answers
2k
views
What will happen if my DB server runs out of disk space?
I'm seeing a huge difference of free disk space between
df -h
and du -sxh /
I've understood in my question Resolving unix server disk space not adding up that du -sxh / is a better estimation as ...
1
vote
1
answer
2k
views
Accepted publickey for userx from y.y.y.y (ssh authentication)
Server A and B is setup for autoSSH
I am on ServerA (y.y.y.y) and is accessing ServerB.
I understand that A's public key is store in B and is use by B to encrypt the challenge to A when A connect. ...
1
vote
3
answers
3k
views
Why am I getting "No such file or directory" after install?
If I command convert --version it shows this.
bash: /usr/bin/convert: No such file or directory
All what I did was this
1. $ wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
2. $ ...
1
vote
1
answer
2k
views
Can't install subversion over yum
How to install using yum ?
Because when I tried this :
yum install gcc gmake make libcpp libgcc libstdc++ gcc4 \
gcc4-c++ gcc4-gfortran subversion ruby ncurses-devel -y
Subversion did not install , ...
1
vote
1
answer
34
views
Linux, centos, resetting password
While resetting password after commands:
rd.break
mount -o remount,rw /sysroot
chroot /sysroot
I entered new password all done correctly at the end created file reliably using
touch /.autorelable ...