Académique Documents
Professionnel Documents
Culture Documents
=$ pwd
$ cd ~
$ mkdir
$ mkdir
$ mkdir
$ mkdir
temp
temp/stuff
temp/stuff/things
-p temp/stuff/things/orange/apple/pear/grape
Ans-2=
$ cd temp
$ touch Sanya.txt
$ ls
Sanya.txt
$
Ans-13
1) Unzip the archive.zip to path/to/extracted/content:
unzip /path/to/archive.zip -d path/to/extracted/content
2) Install the archive content :
if it's a package.deb :
sudo dpkg -i path/to/extracted/content/package.deb
sudo apt-get install -f
if it's an install-script :
sudo bash path/to/extracted/content/install-script
3) Delete the installation files (package.deb or install-script) :
rm path/to/extracted/content/package.deb
or
rm path/to/extracted/content/install-script
Ans 17=
Ans=5
cat/more/less <file>
"cat" stands for CATenate or conCATenate. You can use this command to dump the e
ntire text file to the screen, much like the DOS "type" command.
indigo5> cat sample.txt
ANS6=
grep -c '^/bin/false$' /etc/passwd_backup
ans 2 =
remove directory
$ rm "dir2"
Ans=7
grep -c '^/bin/false$' /etc/passwd_backup < output.txt
{ command1 & command2; } > new_file
if two commands ki output bhejni he file me
now 10 are done 5 left
Chat Conversation End